<?php
/**
 * @version		$Id: default.php 21518 2011-06-10 21:38:12Z chdemko $
 * @package		Joomla.Site
 * @subpackage	com_content
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');

// If the page class is defined, add to class as suffix.
// It will be a separate class if the user starts it with a space
?>

<div id="banner">
<div id="slider2">


<?php foreach ($this->lead_items as &$item) : ?>

<?php
				$this->item = &$item;
				echo $this->loadTemplate('item');
			?>


                               		
<?php endforeach; ?>	

<div id="paginate-slider2" class="pagination">
									</div>
<script type="text/javascript" src="<?php echo JURI::base(); ?>/templates/tpmsolutions/js/slider.js" ></script>


</div>
			</div>








<style type="text/css">
h2{color: #6E0800 !important; font-size: 16px; margin: 5px}
</style>


<?php if (!empty($this->intro_items)) : ?>
	<?php foreach ($this->intro_items as $key => &$item) : ?>

	
	<?php
					echo "<h2>".$item->title."</h2>"; 
					echo $item->introtext;
			?>
	
			
	<?php endforeach; ?>
<?php endif; ?>








								
								
								

<?php if ($this->params->def('show_pagination', 2) == 1  || ($this->params->get('show_pagination') == 2 && $this->pagination->get('pages.total') > 1)) : ?>
	<div class="pagination">

		<?php if ($this->params->def('show_pagination_results', 1)) : ?>
			<p class="counter">
				<?php echo $this->pagination->getPagesCounter(); ?>
			</p>
		<?php  endif; ?>
				<?php echo $this->pagination->getPagesLinks(); ?>
	</div>
<?php endif; ?>















